/**
 * 
 */
package com.primestone.cim.util.enums;

import java.util.regex.Pattern;

/**
 * @author cesar.mateus
 *
 */
public enum RegexEnum {
	/**
	 * 
	 */
	ONLY_DIGITS("[\\d]+", Pattern.compile("[\\d]+"));
    
    private String expression;
    private Pattern pattern;
    
    RegexEnum(String expression, Pattern pattern) {
        this.expression = expression;
        this.pattern = pattern;
    }

    /**
     * @return
     */
    public String getExpression() {
        return this.expression;
    }

    /**
     * @return
     */
    public Pattern getPattern() {
        return this.pattern;
    }
    
    
}
